package com.xmcowell.sportpacemaster.utils.retrofit;

public class APIException extends RuntimeException {
    public int resultstate;
    public String message;


    public APIException(int code, String message) {
        this.resultstate = code;
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public int getCode() {
        return resultstate;
    }
}